package com.erik.lin.domain;

import java.util.List;

/**
 * Created by Erik on 2017/7/6.
 */
public class NodeTree {

    private String parentId;

    private String menuId;

    private String menuName;

    private List<NodeTree> children;

    public NodeTree(String parentId, String menuId, String menuName, List<NodeTree> children) {
        this.parentId = parentId;
        this.menuId = menuId;
        this.menuName = menuName;
        this.children = children;
    }

    public NodeTree() {
    }

    public String getParentId() {
        return parentId;
    }

    public void setParent(String parentId) {
        this.parentId = parentId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public List<NodeTree> getChildren() {
        return children;
    }

    public void setChildren(List<NodeTree> children) {
        this.children = children;
    }
}
